package com.project.entity.qo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ProjectName: 
 * @Package: 
 * @ClassName: 
 * @Author: ZhaoLongShi
 * @CreateDate: 
 */
@Data
@TableName(value = "card")
public class CardQo {
    /**
     * 卡ID
     */
    @TableId(value = "card_id", type = IdType.INPUT)
    private Integer cardId;

    /**
     * 卡名
     */
    @TableField(value = "card_name")
    private String cardName;

    /**
     * 折扣
     */
    @TableField(value = "discount")
    private Double discount;

    /**
     * 礼物
     */
    @TableField(value = "gift")
    private String gift;

    /**
     * 是否删除 0 不删，1 删
     */
    @TableField(value = "is_del")
    private Integer isDel;

    public static final String COL_CARD_ID = "card_id";

    public static final String COL_CARD_NAME = "card_name";

    public static final String COL_DISCOUNT = "discount";

    public static final String COL_GIFT = "gift";

    public static final String COL_IS_DEL = "is_del";
}